import expressSession from "express-session";

import createStore from "./store";
import { session as sessionConfig } from "../config";

export const store = createStore();

export const session = expressSession({
  ...sessionConfig,
  store: store,
});
